<?php /* Smarty version Smarty-3.1.21-dev, created on 2018-03-07 18:01:55
         compiled from "/data/wwwroot/61kq.com/uploads/app/template/admin/admin_company_order_edit.htm" */ ?>
<?php /*%%SmartyHeaderCode:14687074795a9fb893d375b2-52143093%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '8dc3ee06e4421129e038bcbb605824503881fdba' => 
    array (
      0 => '/data/wwwroot/61kq.com/uploads/app/template/admin/admin_company_order_edit.htm',
      1 => 1517982110,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '14687074795a9fb893d375b2-52143093',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'config' => 0,
    'pytoken' => 0,
    'row' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.21-dev',
  'unifunc' => 'content_5a9fb893e526f1_43123611',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5a9fb893e526f1_43123611')) {function content_5a9fb893e526f1_43123611($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_date_format')) include '/data/wwwroot/61kq.com/uploads/app/include/libs/plugins/modifier.date_format.php';
?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<link href="./images/reset.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
" rel="stylesheet" type="text/css" />
<link href="./images/system.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
" rel="stylesheet" type="text/css" />

<link href="./images/table_form.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
" rel="stylesheet" type="text/css" />
<?php echo '<script'; ?>
 src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
/js/jquery-1.8.0.min.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
"><?php echo '</script'; ?>
>
<link href="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
/js/layui/css/layui.css?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
" rel="stylesheet" type="text/css" />
<?php echo '<script'; ?>
 src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
/js/layui/layui.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="<?php echo $_smarty_tpl->tpl_vars['config']->value['sy_weburl'];?>
/js/layui/phpyun_layer.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="js/admin_public.js?v=<?php echo $_smarty_tpl->tpl_vars['config']->value['cachecode'];?>
" language="javascript"><?php echo '</script'; ?>
>
<title></title>
</head>
<?php echo '<script'; ?>
>
function check_form(){
	var order_price=$("#order_price").val();
	if(order_price==''){ 
		parent.layer.msg('待付金额不能为空！', 2, 8);
		return false;
	}
} 
function replace_type(){$('#invoice').toggle();}
function ordershow(){
	$.layer({
		type : 1,
		title :'汇款单图片', 
		closeBtn : [0 , true],
		border : [10 , 0.3 , '#000', true],
		area : ['350px','250px'],
		page : {dom :"#orderpic"}
	});
}
<?php echo '</script'; ?>
>
<body class="body_ifm">
<div class="infoboxp">
<div class="admin_new_tip">
<a href="javascript:;" class="admin_new_tip_close"></a>
<a href="javascript:;" class="admin_new_tip_open" style="display:none;"></a>
<div class="admin_new_tit"><i class="admin_new_tit_icon"></i>操作提示</div>
<div class="admin_new_tip_list_cont">
<div class="admin_new_tip_list">该页面展示了订单详情。</div>
</div>
</div>
		<div class="infoboxp_top mt10">
			<h6>订单详情</h6>
		</div>
<div class="common-form">
	<iframe id="supportiframe" name="supportiframe" onload="returnmessage('supportiframe');" style="display:none"></iframe>
	<form name="myform" target="supportiframe" action="index.php?m=company_order&c=save" method="post" id="myform" onSubmit="return check_form();">
    <input type="hidden" name="pytoken" id="pytoken" value="<?php echo $_smarty_tpl->tpl_vars['pytoken']->value;?>
">
    
    
		<table width="100%" class="table_form contentWrap table_form_bg" style="line-height:30px;"> 
			<tr>
				<td align="right"  width="230">订单号:</td>
				<td><?php echo $_smarty_tpl->tpl_vars['row']->value['order_id'];?>
</td>
			</tr>
			<tr class="admin_table_trbg">
				<td align="right">申请交易时间:</td>
				<td><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['row']->value['order_time'],"%Y-%m-%d %H:%M:%S");?>
</td>
			</tr>
			<tr>
				<td align="right">用户名:</td>
				<td><?php if ($_smarty_tpl->tpl_vars['row']->value['type']==3||$_smarty_tpl->tpl_vars['row']->value['order_type']=='bank') {
echo $_smarty_tpl->tpl_vars['row']->value['comname'];?>
+<?php }
echo $_smarty_tpl->tpl_vars['row']->value['username'];?>
</td>
			</tr>
			
			<tr class="admin_table_trbg">
				<td align="right">待付金额:</td>
				<td>
				<?php if ($_smarty_tpl->tpl_vars['row']->value['order_state']==1||$_smarty_tpl->tpl_vars['row']->value['order_state']==3) {?>
				<input type="text" name="order_price" id="order_price" class="input-text" size="10" value="<?php echo $_smarty_tpl->tpl_vars['row']->value['order_price'];?>
" onkeyup="this.value=this.value.replace(/[^0-9.]/g,'')"><?php } else { ?><input name='order_price' value='<?php echo $_smarty_tpl->tpl_vars['row']->value['order_price'];?>
' type='hidden'/><?php echo $_smarty_tpl->tpl_vars['row']->value['order_price'];
}?>元
				</td>
			</tr>
            <?php if ($_smarty_tpl->tpl_vars['row']->value['type']==3||$_smarty_tpl->tpl_vars['row']->value['order_type']=='bank') {?> 
			<tr class="admin_table_trbg">
            	<td align="right">汇款银行:</td>
				<td><?php echo $_smarty_tpl->tpl_vars['row']->value['bankname'];?>
</td>
			</tr> 
			<tr class="admin_table_trbg">
                <td align="right">汇入账号:</td>
				<td><?php echo $_smarty_tpl->tpl_vars['row']->value['bankid'];?>

				</td>
			</tr> 
			<tr class="admin_table_trbg">
                <td align="right">汇款金额:</td>
				<td><?php echo $_smarty_tpl->tpl_vars['row']->value['order_price'];?>
元
				</td>
			</tr> 
            <?php }?>
			<tr class="admin_table_trbg">
				<td align="right">备注:</td>
				<td>
			   <?php if ($_smarty_tpl->tpl_vars['row']->value['order_state']==1||$_smarty_tpl->tpl_vars['row']->value['order_state']==3) {?><textarea name="order_remark" id="order_remark" rows="3" cols="50" class="text"><?php echo $_smarty_tpl->tpl_vars['row']->value['order_remark'];?>
</textarea><?php } else {
echo $_smarty_tpl->tpl_vars['row']->value['order_remark'];?>
<input name='order_remark' value='<?php echo $_smarty_tpl->tpl_vars['row']->value['order_remark'];?>
' type='hidden'/><?php }?>
				</td>
			</tr>
		<tr >
				<td align="right">订单类型:</td>
				<td> 

					<?php if ($_smarty_tpl->tpl_vars['row']->value['type']==1) {?>购买会员
					<?php } elseif ($_smarty_tpl->tpl_vars['row']->value['type']=='2') {
echo $_smarty_tpl->tpl_vars['config']->value['integral_pricename'];?>
充值
					<?php } elseif ($_smarty_tpl->tpl_vars['row']->value['type']=='3') {?>银行转帐
					<?php } elseif ($_smarty_tpl->tpl_vars['row']->value['type']=='4') {?>金额充值
					<?php } elseif ($_smarty_tpl->tpl_vars['row']->value['type']=='5') {?>购买增值包
					
					<?php } elseif ($_smarty_tpl->tpl_vars['row']->value['type']=='10') {?>购买职位置顶
        			<?php } elseif ($_smarty_tpl->tpl_vars['row']->value['type']=='11') {?>购买紧急招聘
        			<?php } elseif ($_smarty_tpl->tpl_vars['row']->value['type']=='12') {?>购买职位推荐
        			<?php } elseif ($_smarty_tpl->tpl_vars['row']->value['type']=='13') {?>购买职位自动刷新
        			<?php } elseif ($_smarty_tpl->tpl_vars['row']->value['type']=='14') {?>简历置顶
        			
					<?php }?>
				</td>
			</tr>
			<?php if ($_smarty_tpl->tpl_vars['row']->value['type']=='2') {?>
			<tr class="admin_table_trbg">
				<td align="right">所得<?php echo $_smarty_tpl->tpl_vars['config']->value['integral_pricename'];?>
:</td>
				<td><?php echo $_smarty_tpl->tpl_vars['row']->value['integral'];?>
</td>
			</tr>	
			<?php }?>
            <?php if ($_smarty_tpl->tpl_vars['row']->value['type']=='3'||$_smarty_tpl->tpl_vars['row']->value['order_type']=='bank') {?>
			<tr class="admin_table_trbg">
				<td align="right">上传汇款单:</td>
				<td><?php if ($_smarty_tpl->tpl_vars['row']->value['order_state']==1||!$_smarty_tpl->tpl_vars['row']->value['order_pic']) {?>未上传汇款单<?php } else { ?><img src="<?php echo $_smarty_tpl->tpl_vars['row']->value['order_pic'];?>
" width="160px" height="60px"><a href="javascript:void(0);" onClick="ordershow();">点击大图查看</a><?php }?></td>
			</tr>	
			<?php }?> 
		<tr>
			<td align="right">&nbsp;</td>
			<td > 
				<input name="id" type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['row']->value['id'];?>
">
				<?php if ($_smarty_tpl->tpl_vars['row']->value['order_state']==1||$_smarty_tpl->tpl_vars['row']->value['order_state']==3) {?><input class="admin_button" name="hotup" type="submit" value="修改" id="dosubmit"><?php }?> 
				<input class="admin_button" name="" type="button" value="返回" onclick="javascript:history.go(-1);">
                <?php if ($_smarty_tpl->tpl_vars['row']->value['order_state']==1||$_smarty_tpl->tpl_vars['row']->value['order_state']==3) {?><input class="admin_button" type="button" value="确认" onclick="layer_del('确认该订单将充值到用户帐户，是否确定？', 'index.php?m=company_order&c=setpay&id=<?php echo $_smarty_tpl->tpl_vars['row']->value['id'];?>
');"><?php }?>
			</td>
		</tr> 
		 </table>
	 </form>
</div>
</div>
<div id="orderpic" style="display:none;">
<img src="<?php echo $_smarty_tpl->tpl_vars['row']->value['order_pic'];?>
" width="340px" height="200px">
</div>
</body>
</html><?php }} ?>
